/** 
 * @ClassName:     ApiKeyService.java 
 * @Description:   TODO(用一句话描述该文件做什么)  
 * @author         wangzhe  
 * @Date           2019年1月21日 下午12:57:44  
 */  


package com.huitone.gddw.service.impl.worktable;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.huitone.gddw.dao.entity.ApiKey;
import com.huitone.gddw.dao.worktable.IApiKeyDao;
import com.huitone.gddw.service.IApiKeyService;

@Service
public class ApiKeyService implements IApiKeyService{
	@Autowired
	private IApiKeyDao apiKeyDao;

	@Override
	public ApiKey selectApiKeyByDesc(String desc) {
		
		return apiKeyDao.selectApiKeyByDesc(desc);
	}

	@Override
	public int insertApiKey(ApiKey record) {
		
		return apiKeyDao.insertApiKey(record);
	}

	@Override
	public int updateApiKey(ApiKey record) {
		
		return apiKeyDao.updateApiKey(record);
	}

	@Override
	public int deleteApiKey(ApiKey record) {
		
		return apiKeyDao.deleteApiKey(record);
	}

}
